package com.chushouya.manager.dto.admin.article;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("文章分类列表")
public class ArticleCatListDTO {

    private Long categoryId;

    @ApiModelProperty(value = "文章分类名称")
    private String categoryName;

    @ApiModelProperty("上级分类id")
    private Long parentId;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty(value = "状态")
    private Integer status;


    @ApiModelProperty("下级文章分类")
    private List<ArticleCatListDTO> subs;

}
